package com.eeeffff.discoveryclient.config;

import org.springframework.cloud.alibaba.nacos.NacosDiscoveryProperties;
import org.springframework.cloud.client.discovery.ReactiveDiscoveryClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.eeeffff.discoveryclient.discovery.NacosReactiveDiscoveryClient;

/**
 * 
 * @author fenglibin
 *
 */
@Configuration
public class NacosReactiveDiscoveryClientAutoConfiguration {
	@Bean
	public ReactiveDiscoveryClient nacosReactiveDiscoveryClient(NacosDiscoveryProperties discoveryProperties) {
		return new NacosReactiveDiscoveryClient(discoveryProperties);
	}
}
